//
//  UFOPicPageListCollectionViewCell.m
//  unrivalledForUniverse
//
//  Created by dllo on 16/1/13.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "UFOPicPageListCollectionViewCell.h"

@implementation UFOPicPageListCollectionViewCell

- (void)dealloc
{
    [_imageV release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubviews];
    }
    return self;
}

// 创建视图
- (void)createSubviews
{
    self.backgroundColor = [UIColor whiteColor];
    self.imageV = [UIImageView new];
    self.imageV.image = [UIImage imageNamed:@"placeholder"];
    [self.contentView addSubview:self.imageV];

    [self.imageV mas_makeConstraints:^(MASConstraintMaker *make) {
       
        make.edges.equalTo(self.contentView);
        
    }];
}
@end
